CC=g++
FLAG=-std=c++11 -fopenmp -D _FILE_OFFSET_BITS=64
#-L"ws2_32" -mwindows -lwsock32
comm=-L../lib -lcommon_conf


build:
	make client
	cp client ../bin/

run:
	./client lsend 111 ../data/data0.mp4

client:client.o fudpClient.o 
	${CC} *.o ${FLAG} ${comm} -o client

client.o: client.cpp
	${CC} -c ${FLAG} client.cpp

fudpClient.o: fudpClient.cpp
	${CC} -c ${FLAG} fudpClient.cpp

clean:
	rm *.o
	rm client